package foodmaterial.dto;

import foodmaterial.action.valid.PaginationNoValid;
import foodmaterial.action.valid.PaginationSizeValid;

import java.util.List;

public class RecipeSupplyDto {

    private Long id ;
    private Long recipeTypeId ;
    private Long templateId ;
    private String templateName;
    private String beginSupplyDate ;
    private String endSupplyDate ;
    private List<Long> ids;
    @PaginationNoValid(ignoreEmpty = false)
    private Integer pageNo ;
    @PaginationSizeValid(ignoreEmpty = false)
    private Integer pageSize ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRecipeTypeId() {
        return recipeTypeId;
    }

    public void setRecipeTypeId(Long recipeTypeId) {
        this.recipeTypeId = recipeTypeId;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getBeginSupplyDate() {
        return beginSupplyDate;
    }

    public void setBeginSupplyDate(String beginSupplyDate) {
        this.beginSupplyDate = beginSupplyDate;
    }

    public String getEndSupplyDate() {
        return endSupplyDate;
    }

    public void setEndSupplyDate(String endSupplyDate) {
        this.endSupplyDate = endSupplyDate;
    }

    public List<Long> getIds() {
        return ids;
    }

    public void setIds(List<Long> ids) {
        this.ids = ids;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
